Skip to main content

QueryResponse<T>

Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
[DataContract]
public class QueryResponse<T> : IQueryResponse, IHasResponseStatus, IMeta

Properties

Offset

View Source
Declaration
[DataMember(Order = 1)]
public virtual int Offset { get; set; }

Total

Populate with Include=Total or if registered with: AutoQueryFeature { IncludeTotal = true }

View Source
Declaration
[DataMember(Order = 2)]
public virtual int Total { get; set; }

Results

View Source
Declaration
[DataMember(Order = 3)]
public virtual List<T> Results { get; set; }

Meta

View Source
Declaration
[DataMember(Order = 4)]
public virtual Dictionary<string, string> Meta { get; set; }

ResponseStatus

View Source
Declaration
[DataMember(Order = 5)]
public virtual ResponseStatus ResponseStatus { get; set; }

Implements